package cn.hftoday.wf;

import java.util.*;
import cn.hftoday.org.*;

public interface Activity {
	
	String getId();
	
	void setId(String id);
	
	String getName();
	
	void setName(String name);
	
	String getDisplayName();
	
	void setDisplayName(String displayName);
	
	Workflow getWorkflow();
	
	void setWorkflow(Workflow workflow);
	
	List<Transition> getTransitionsFromMe();
	
	List<Party> getCandidates();
	
	void addCandidate(Party party);
	
	void removeCandidate(Party party);
	
	Activity getChooseExecutorActivity();
	
	void setChooseExecutorActivity(Activity activity);
	
	String getPreprocess();
	
	void setPreprocess(String process);
	
	String getPostprocess();
	
	void setPostprocess(String process);
}
